package com.woniuxy.coursemodel.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
@ApiModel("团课排课参数列表")
public class ScheduleForm {
    @ApiModelProperty("团课产品id")
    @NotNull(message = "团课产品id为正整数")
    @Min(1)
    private Integer teamProductId;
    @NotBlank(message = "排课开始日期不为空")
    @ApiModelProperty("排课开始日期")
    private String day;
    @NotBlank(message = "课程开始时间点不为空")
    @ApiModelProperty("课程开始的时间点")
    private String time;
}
